<?php
http_response_code(404);
    include "./mysql.php";
    $user_name = $_GET["user_name"];
    $user_pwd = $_GET["user_pwd"];
    $sql = "select * from user where user_name = '{$user_name}' and user_pwd = '{$user_pwd}'";
    $result = $mysqli->query($sql);
    if($result->num_rows){        
        echo "true";
        
    }else{        
        echo "false";
    }